import { createApp } from "vue";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";
import "amfe-flexible";
import "@/utils/rem.js";
import Vant from "vant";
import "vant/lib/index.css";
const app = createApp(App);
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
app.use(pinia);
app.use(router);
app.use(Vant);

app.mount("#app");
